// 设备类型枚举
export enum DeviceType {
  SOIL_PH = 'SOIL_PH',
  CO2 = 'CO2',
  AIR_TEMPERATURE = 'AIR_TEMPERATURE',
  AIR_HUMIDITY = 'AIR_HUMIDITY',
  SOIL_TEMPERATURE = 'SOIL_TEMPERATURE',
  CAMERA = 'CAMERA'
}

// 设备数据接口
export interface DeviceData {
  time: string
  deviceTypeName: DeviceType
  monitorUrl: string | null
  name: string
  unit: string
  updateTime: string
  greenhouseId: number
  value?: number | string
}